require.config({
    paths: {
        //apps
        Index: 'apps/index',


        //utils
        Api: 'common/api',
        jsMvc: 'utils/jsMvc',
        zepto: 'utils/zepto.min',
        Iscroll: 'utils/iscroll',
        stories: 'apps/stories',
    },
    shim : { // If the library does not support AMD
        'Iscroll': {
             exports: 'Iscroll'
         },
         'zepto': {
             exports: '$'
         },
         'jsMvc': {
             exports: 'jsMvc'
         },
    }
});

require(['Index'],function(Index){
   Index.indexStart();
})